import logging
from BeautifulReport import BeautifulReport
class Tools():
    def log(self):
        lo=logging.basicConfig(level=logging.INFO,format="%(message)s - %(asctime)",filename="l.log",filemode="w")
        return lo
    def baogao(self,suite):
        BeautifulReport(suite).report(description="这是报告",filename="jiuxian.html",log_path="./")
